<template>
  <div>
   <div>复选框</div>
   <el-checkbox-group 
    v-model="visibleuser">
    <el-checkbox  label="1">管家</el-checkbox>
    <el-checkbox  label="2">医生</el-checkbox>
    <el-checkbox  label="3">A</el-checkbox>
    <el-checkbox  label="4">潜客</el-checkbox>
    <el-checkbox  label="5">可见</el-checkbox>

  </el-checkbox-group>
  </div>
</template>

<script>
export default {
  data() {
    return {
        visibleuser:[]

    }
  },
  methods: {

  },
  created() {
    console.log(this.$route.query);
    this.visibleuser = this.$route.query.date.split(',')

  },
}
</script>
<style scoped>

</style>